#ifndef C_QEVENT_H
#define C_QEVENT_H

/****************************************************************************
** QEvent C bindings generated from reading C++ file 'qevent.h'
**
** Created: Tue Jul 30 19:22:28 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QEventH QEvent_create(QEventType type);
C_EXPORT void QEvent_destroy(QEventH handle);
C_EXPORT QEventType QEvent_type(QEventH handle);
C_EXPORT QTimerEventH QTimerEvent_create(int timerId);
C_EXPORT void QTimerEvent_destroy(QTimerEventH handle);
C_EXPORT int QTimerEvent_timerId(QTimerEventH handle);
C_EXPORT QMouseEventH QMouseEvent_create(QEventType type, const QPointH pos, int button, int state);
C_EXPORT void QMouseEvent_destroy(QMouseEventH handle);
C_EXPORT QMouseEventH QMouseEvent_create2(QEventType type, const QPointH pos, const QPointH globalPos, int button, int state);
C_EXPORT const QPointH QMouseEvent_pos(QMouseEventH handle);
C_EXPORT const QPointH QMouseEvent_globalPos(QMouseEventH handle);
C_EXPORT int QMouseEvent_x(QMouseEventH handle);
C_EXPORT int QMouseEvent_y(QMouseEventH handle);
C_EXPORT int QMouseEvent_globalX(QMouseEventH handle);
C_EXPORT int QMouseEvent_globalY(QMouseEventH handle);
C_EXPORT ButtonState QMouseEvent_button(QMouseEventH handle);
C_EXPORT ButtonState QMouseEvent_state(QMouseEventH handle);
C_EXPORT ButtonState QMouseEvent_stateAfter(QMouseEventH handle);
C_EXPORT QWheelEventH QWheelEvent_create(const QPointH pos, int delta, int state);
C_EXPORT void QWheelEvent_destroy(QWheelEventH handle);
C_EXPORT QWheelEventH QWheelEvent_create2(const QPointH pos, const QPointH globalPos, int delta, int state);
C_EXPORT int QWheelEvent_delta(QWheelEventH handle);
C_EXPORT const QPointH QWheelEvent_pos(QWheelEventH handle);
C_EXPORT const QPointH QWheelEvent_globalPos(QWheelEventH handle);
C_EXPORT int QWheelEvent_x(QWheelEventH handle);
C_EXPORT int QWheelEvent_y(QWheelEventH handle);
C_EXPORT int QWheelEvent_globalX(QWheelEventH handle);
C_EXPORT int QWheelEvent_globalY(QWheelEventH handle);
C_EXPORT ButtonState QWheelEvent_state(QWheelEventH handle);
C_EXPORT bool QWheelEvent_isAccepted(QWheelEventH handle);
C_EXPORT void QWheelEvent_accept(QWheelEventH handle);
C_EXPORT void QWheelEvent_ignore(QWheelEventH handle);
C_EXPORT QKeyEventH QKeyEvent_create(QEventType type, int key, int ascii, int state, PWideString text, bool autorep, ushort count);
C_EXPORT void QKeyEvent_destroy(QKeyEventH handle);
C_EXPORT int QKeyEvent_key(QKeyEventH handle);
C_EXPORT int QKeyEvent_ascii(QKeyEventH handle);
C_EXPORT ButtonState QKeyEvent_state(QKeyEventH handle);
C_EXPORT ButtonState QKeyEvent_stateAfter(QKeyEventH handle);
C_EXPORT bool QKeyEvent_isAccepted(QKeyEventH handle);
C_EXPORT void QKeyEvent_text(QKeyEventH handle, PWideString retval);
C_EXPORT bool QKeyEvent_isAutoRepeat(QKeyEventH handle);
C_EXPORT int QKeyEvent_count(QKeyEventH handle);
C_EXPORT void QKeyEvent_accept(QKeyEventH handle);
C_EXPORT void QKeyEvent_ignore(QKeyEventH handle);
C_EXPORT QFocusEventH QFocusEvent_create(QEventType type);
C_EXPORT void QFocusEvent_destroy(QFocusEventH handle);
C_EXPORT bool QFocusEvent_gotFocus(QFocusEventH handle);
C_EXPORT bool QFocusEvent_lostFocus(QFocusEventH handle);
C_EXPORT QFocusEventReason QFocusEvent_reason();
C_EXPORT void QFocusEvent_setReason(QFocusEventReason reason);
C_EXPORT void QFocusEvent_resetReason();
C_EXPORT QPaintEventH QPaintEvent_create(const QRegionH paintRegion, bool erased);
C_EXPORT void QPaintEvent_destroy(QPaintEventH handle);
C_EXPORT QPaintEventH QPaintEvent_create2(PRect paintRect, bool erased);
C_EXPORT void QPaintEvent_rect(QPaintEventH handle, PRect retval);
C_EXPORT const QRegionH QPaintEvent_region(QPaintEventH handle);
C_EXPORT bool QPaintEvent_erased(QPaintEventH handle);
C_EXPORT QMoveEventH QMoveEvent_create(const QPointH pos, const QPointH oldPos);
C_EXPORT void QMoveEvent_destroy(QMoveEventH handle);
C_EXPORT const QPointH QMoveEvent_pos(QMoveEventH handle);
C_EXPORT const QPointH QMoveEvent_oldPos(QMoveEventH handle);
C_EXPORT QResizeEventH QResizeEvent_create(const QSizeH size, const QSizeH oldSize);
C_EXPORT void QResizeEvent_destroy(QResizeEventH handle);
C_EXPORT const QSizeH QResizeEvent_size(QResizeEventH handle);
C_EXPORT const QSizeH QResizeEvent_oldSize(QResizeEventH handle);
C_EXPORT QCloseEventH QCloseEvent_create();
C_EXPORT void QCloseEvent_destroy(QCloseEventH handle);
C_EXPORT bool QCloseEvent_isAccepted(QCloseEventH handle);
C_EXPORT void QCloseEvent_accept(QCloseEventH handle);
C_EXPORT void QCloseEvent_ignore(QCloseEventH handle);
C_EXPORT QShowEventH QShowEvent_create(bool spontaneous);
C_EXPORT void QShowEvent_destroy(QShowEventH handle);
C_EXPORT bool QShowEvent_spontaneous(QShowEventH handle);
C_EXPORT QHideEventH QHideEvent_create(bool spontaneous);
C_EXPORT void QHideEvent_destroy(QHideEventH handle);
C_EXPORT bool QHideEvent_spontaneous(QHideEventH handle);
C_EXPORT QDropEventH QDropEvent_create(const QPointH pos, QEventType typ);
C_EXPORT void QDropEvent_destroy(QDropEventH handle);
C_EXPORT const QPointH QDropEvent_pos(QDropEventH handle);
C_EXPORT bool QDropEvent_isAccepted(QDropEventH handle);
C_EXPORT void QDropEvent_accept(QDropEventH handle, bool y);
C_EXPORT void QDropEvent_ignore(QDropEventH handle);
C_EXPORT bool QDropEvent_isActionAccepted(QDropEventH handle);
C_EXPORT void QDropEvent_acceptAction(QDropEventH handle, bool y);
C_EXPORT void QDropEvent_setAction(QDropEventH handle, QDropEventAction a);
C_EXPORT QDropEventAction QDropEvent_action(QDropEventH handle);
C_EXPORT QWidgetH QDropEvent_source(QDropEventH handle);
C_EXPORT const char* QDropEvent_format(QDropEventH handle, int n);
C_EXPORT void QDropEvent_encodedData(QDropEventH handle, QByteArrayH retval, const char* p1);
C_EXPORT bool QDropEvent_provides(QDropEventH handle, const char* p1);
C_EXPORT void QDropEvent_data(QDropEventH handle, QByteArrayH retval, const char* f);
C_EXPORT void QDropEvent_setPoint(QDropEventH handle, const QPointH np);
C_EXPORT QMimeSourceH QDropEvent_to_QMimeSource(QDropEventH handle);
C_EXPORT QDragMoveEventH QDragMoveEvent_create(const QPointH pos, QEventType typ);
C_EXPORT void QDragMoveEvent_destroy(QDragMoveEventH handle);
C_EXPORT void QDragMoveEvent_answerRect(QDragMoveEventH handle, PRect retval);
C_EXPORT void QDragMoveEvent_accept(QDragMoveEventH handle, bool y);
C_EXPORT void QDragMoveEvent_accept2(QDragMoveEventH handle, PRect r);
C_EXPORT void QDragMoveEvent_ignore(QDragMoveEventH handle, PRect r);
C_EXPORT void QDragMoveEvent_ignore2(QDragMoveEventH handle);
C_EXPORT QDragEnterEventH QDragEnterEvent_create(const QPointH pos);
C_EXPORT void QDragEnterEvent_destroy(QDragEnterEventH handle);
C_EXPORT QDragResponseEventH QDragResponseEvent_create(bool accepted);
C_EXPORT void QDragResponseEvent_destroy(QDragResponseEventH handle);
C_EXPORT bool QDragResponseEvent_dragAccepted(QDragResponseEventH handle);
C_EXPORT QDragLeaveEventH QDragLeaveEvent_create();
C_EXPORT void QDragLeaveEvent_destroy(QDragLeaveEventH handle);
C_EXPORT QChildEventH QChildEvent_create(QEventType type, QObjectH child);
C_EXPORT void QChildEvent_destroy(QChildEventH handle);
C_EXPORT QObjectH QChildEvent_child(QChildEventH handle);
C_EXPORT bool QChildEvent_inserted(QChildEventH handle);
C_EXPORT bool QChildEvent_removed(QChildEventH handle);
C_EXPORT QCustomEventH QCustomEvent_create(int type);
C_EXPORT void QCustomEvent_destroy(QCustomEventH handle);
C_EXPORT QCustomEventH QCustomEvent_create2(QEventType type, void* data);
C_EXPORT void * QCustomEvent_data(QCustomEventH handle);
C_EXPORT void QCustomEvent_setData(QCustomEventH handle, void* data);

#endif
